pp108 : onmonthchange Event

onmonthchange Event


This event is fired when the month is changed from the calendar display.

Syntax

Inline HTML

<div cordysType="wcp.libaray.ui.Calendar " id=calendarID onmonthchange="handler()" style="position:absolute;display:none;width:150;height:137" >
...
</div>

Event property

calendarID.onmonthchange = handler


Event Information

To invoke

Click on the month selector control (combo box) on the top of the calendar control displayed and change the month.

Default Action

Changes the month to the selection made and initiates any action associated with this event.


Event Object Properties


Although event handlers in the DHTML Object Model do not receive parameters directly, a handler can query an event object for data.

Property

Description

month

Read-only. Integer that denotes the month selected.

year

Read-only. Integer that denotes the year for the month selected.


See Also


calendar